-
Notifications
You must be signed in to change notification settings - Fork 813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ShutdownReplicas count #810
Conversation
Some |
Build Failed 😱 Build Id: 29f0811f-ee80-49bb-a746-38590c15c037 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 5ef7427d-229d-443a-8e04-b649b1bd1b3d To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 09044425-6954-45a8-9ae5-643da2047326 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
E2E test succeed locally, trying to write different waiting scenario, the test which fails for current master and working as expected without overshooting Gameservers. And check that old GSSet does not put all GS into Shutdown all at once. |
Build Failed 😱 Build Id: 11f62e4d-2dfd-4a62-beec-8bcdaca58527 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Build Failed 😱 Build Id: 08777b7b-108f-4897-bf2e-1070dc3f75ef To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
Perform graceful scale down of inactive GameServerSet on RollingUpdate.
Build Succeeded 👏 Build Id: bc183c38-ab1c-44b2-ab2c-ffbb9bf84cc5 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Going to run this one more time, just to make sure there is nothing flaky in it, but giving it a review now 👍 |
Build Failed 😱 Build Id: 6de39c10-736e-4a2a-a294-b66663e0304c To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
That wasn't you - that was a flaky unit test. 🔴 🐟 |
Failed on |
Build Succeeded 👏 Build Id: 7c83c1c1-e311-4470-aaea-c4c983346ae9 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
So I just took this for a spin locally. One thing seems weird to me. This is my fleet:
What I noticed when a RollingUpdate occurred (I change the container port), I have 30 gameserver in flight at a given moment:
Shouldn't it be 25 in flight? I have a 25% max surge, and I think the math is off somewhere. |
Oh wait - is this because we have 5 actively being shut down, while we spin up 5 new ones? Hence we end up at 30? If so, that makes sense 👍 |
Yes, so 5 Gameservers got added as MaxSurge to Active
For 10 Replicas we would have max value of 16. If we have 10% it would be 12. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Nice work.
Perform graceful scale down of inactive
GameServerSet
on RollingUpdate.Introduce ShutdownReplicas count for
GameServerSet
Status, to better control life cycle of theGameServerSet
, used by a fleet.Closes #799.